<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>xilplmi: xplmi_cdo.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">xilplmi
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;"
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xplmi__cdo_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xplmi_cdo.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>This file contains code to handling the CDO Buffer. </p>
<pre>
MODIFICATION HISTORY:</pre><pre>Ver   Who  Date        Changes
</p>
<hr/>
<p>
1.00  kc   08/23/2018 Initial release
1.01  kc   12/02/2019 Added performance timestamps
      kc   12/17/2019 Added deferred error mechanism for mask poll
      bsv  01/12/2020 Changes related to bitstream loading
      ma   02/18/2020 Made performance measurement functions generic
      bsv  04/03/2020 Code clean up Xilpdi
1.02  kc   06/12/2020 Added IPI mask to PDI CDO commands to get
                                                subsystem information
      kc   06/23/2020 Added code print command details for errors
      bsv  07/07/2020 Made functions used in single transaltion unit as
                                        static
      bsv  09/30/2020 Added parallel DMA support for SBI, JTAG, SMAP and PCIE
                      boot modes
      bm   10/14/2020 Code clean up
      td         10/19/2020 MISRA C Fixes
1.03  td   11/23/2020 MISRA C Rule 17.8 Fixes
      bm   02/17/2021 Add overflow check for payloadlen
      ma   03/24/2021 Reduced minimum digits of time stamp decimals to 3
      bsv  04/16/2021 Add provision to store Subsystem Id in XilPlmi
1.04  bsv  07/05/2021 Added code to handle case where bitstream data starts
                      at 32K boundary
      bm   07/12/2021 Updated CDO offset print with byte offset including
                      header length
      bsv  07/16/2021 Fix doxygen warnings
      bsv  08/02/2021 Code clean up to reduce size
      bsv  08/15/2021 Removed unwanted goto statements
1.05  skd  11/18/2021 Removed unwanted time stamps in XPlmi_ProcessCdo
      kpt  12/13/2021 Replaced Xil_SecureMemCpy with Xil_SMemCpy
      ma   01/31/2022 Fix DMA Keyhole command issue where the command
                      starts at the 32K boundary
1.06  bm   07/06/2022 Refactor versal and versal_net code
      bm   07/24/2022 Set PlmLiveStatus during boot time
      ma   07/25/2022 Enhancements to secure lockdown code
      bm   08/24/2022 Support Begin, Break and End commands across chunk
                      boundaries
1.07  sk   10/19/2022 Fix security review comments
      ng   11/11/2022 Updated doxygen comments
      bm   01/03/2023 Create Secure Lockdown as a Critical Priority Task
      ng   03/30/2023 Updated algorithm and return values in doxygen comments
1.08  bm   05/22/2023 Update current CDO command offset in GSW Error Status
      bm   06/13/2023 Log PLM error before deferring
      bm   07/06/2023 Added Check for recursive CDO processing
      sk   07/31/2023 Added Redundant call for Sldstate check
      rama 08/10/2023 Changed CDO cmd execute failure prints to DEBUG_ALWAYS
                      for debug level_0 option
      dd   09/12/2023 MISRA-C violation Rule 10.3 fixed
2.00  ng   12/27/2023 Reduced log level for less frequent prints
      bm   03/01/2024 Set LogCdoOffset by default in JTAG boot mode
      ng   03/20/2024 Added CDO debug prints</pre><pre></pre> </div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga34a4463cba534592d19ea6012f456298"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#ga34a4463cba534592d19ea6012f456298">XPLMI_MAX_RECURSIVE_CDO_PROCESS</a>&#160;&#160;&#160;(2U)</td></tr>
<tr class="memdesc:ga34a4463cba534592d19ea6012f456298"><td class="mdescLeft">&#160;</td><td class="mdescRight">&lt; Maximum recursive CDO processing allowed  <a href="group__xilplmi__server__apis.html#ga34a4463cba534592d19ea6012f456298">More...</a><br/></td></tr>
<tr class="separator:ga34a4463cba534592d19ea6012f456298"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga389d36ee0f3228372494ebe5235b87bd"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#ga389d36ee0f3228372494ebe5235b87bd">XPlmi_InitCdo</a> (XPlmiCdo *CdoPtr)</td></tr>
<tr class="memdesc:ga389d36ee0f3228372494ebe5235b87bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initializes the CDO pointer structure.  <a href="group__xilplmi__server__apis.html#ga389d36ee0f3228372494ebe5235b87bd">More...</a><br/></td></tr>
<tr class="separator:ga389d36ee0f3228372494ebe5235b87bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaaa4e2fe96baa321cd17c045bffb049b5"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#gaaa4e2fe96baa321cd17c045bffb049b5">XPlmi_ProcessCdo</a> (XPlmiCdo *CdoPtr)</td></tr>
<tr class="memdesc:gaaa4e2fe96baa321cd17c045bffb049b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function process the CDO file.  <a href="group__xilplmi__server__apis.html#gaaa4e2fe96baa321cd17c045bffb049b5">More...</a><br/></td></tr>
<tr class="separator:gaaa4e2fe96baa321cd17c045bffb049b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
